﻿<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title>异常对象</title>
		<script type="text/javascript">
		function foo(){}             //声明
		var bar = function(){};      //表达式
		var baz = function baz(){};  //命名表达式
		
		console.log(foo.name);
		console.log(bar.name);
		console.log(baz.name);
		</script>
	</head>
	<body>
	</body>
</html>